<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>全屏布局</title>
		<style>
			* {
				margin: 0;
				padding: 0;
			}

			html,
			body {
				margin: 0;
				overflow: hidden;
			}

			header {
				height: 100px;
				position: fixed;
				top: 0;
				left: 0;
				right: 0;
				background-color: lightgray;
			}

			.content {
				position: fixed;
				left: 0;
				right: 0;
				top: 100px;
				bottom: 100px;
				overflow: auto;
				background-color: lightblue;
			}

			.content .left {
				width: 200px;
				height: 100%;
				position: fixed;
				left: 0;
				top: 100px;
				bottom: 100px;
				background-color: lightcoral;
			}

			.content .right {
				height: 1000px;
				margin-left: 200px;
				background-color: greenyellow;
			}

			footer {
				height: 100px;
				position: fixed;
				bottom: 0;
				left: 0;
				right: 0;
				background-color: lightslategray;
			}
		</style>
	</head>

	<body>
		<header></header>
		<div class="content">
			<div class="left"></div>
			<div class="right">3232323</div>
		</div>
		<footer></footer>
	</body>
</html>
